import { createApp } from 'vue'
import App from './App.vue'
import router from './router'

import { Button, Field, Search, NavBar, Toast, Dialog, Popup, Form, Uploader } from 'vant'
import 'vant/lib/index.css'

const app = createApp(App)

app.use(Button)
app.use(Field)
app.use(Search)
app.use(NavBar)
app.use(Toast)
app.use(Dialog)
app.use(Popup)
app.use(Form)
app.use(Uploader)

app.use(router)
app.mount('#app')
